<div id="select_privacy">
   <span>Access privacy: </span>
     <%= select "privacy","#{model_name}", {"Hidden" => "Hidden","Public" => "Public","Privacy" => "Privacy"},{:selected => model[:privacy]}%>
   <span class="rdf_info"><%= "(Current value: #{model[:privacy]})"%></span> 
</div>

<br />

<div id="<%="select_#{model_name}"%>">
  <span>Rdf Type: </span>
    <%= select "namespace","#{model_name}",namespaces,{:prompt => "Select a namespaces..."} -%>
  <span class="rdf_info"><%= "(Current value: #{model[:namespace]})" %></span>
</div>
         
  <%= observe_field "namespace_#{model_name}",{:url => {:controller => "easy_datas",:action => "load_classes",
                                                       :block=>"properties_#{model_name}",:attribute => model_name,:model => model_name},
                                               :with => '"id="+value',
                                               :on => :selected,
                                               :update => "properties_#{model_name}"}
  %>
<br/>
<div id="<%= "properties_#{model_name}"%>">&nbsp;</div>

